package com.crm.mapper;

import com.crm.domain.entity.Dept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 部门表 Mapper 接口
 * </p>
 *
 * @author Hulunico
 * @since 2024-08-08
 */
public interface DeptMapper extends BaseMapper<Dept> {

    @Select("SELECT * FROM dept WHERE dept_id = #{deptId}")
    void getDetailById(Long id);
}
